package com.wsoft.sms.query.message;

import com.wsoft.entity.BasePage;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @Author Zhang gukai
 * @Date 2025/1/3 8:24
 */
@Data
public class MessageListQuery extends BasePage {
    @Schema(description = "消息类型(数据字典：系统消息、通知公告等)")
    private Long type;

    @Schema(description = "提醒类型(force（强制提醒）  warn（提醒）none(不提醒))")
    private String warnType;

    @Schema(description = "标题")
    private String title;

    @Schema(description = "优先级（L低，M中，H高）")
    private String priority;

    @Schema(description = "通告对象类型（ALL:全体用户,ORG:指定组织,POST:指定岗位,LEVEL：指定职务级别，MEMBER:指定用户）")
    private String msgType;

    @Schema(description = "发布状态（0未发布，1已发布，2已撤销）")
    private String sendStatus;

    @Schema(description = "发布单位")
    private Long sendOrgId;

    @Schema(description = "发布人")
    private Long sendMemberId;

    @Schema(description = "发布时间-开始")
    private String sendTimeBegin;

    @Schema(description = "发布时间-结束")
    private String sendTimeEnd;

}
